<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <!-- 第一步移动端的视口 -->
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <!-- 第二步引入我们的mui css mui js  -->
    <link rel="stylesheet" href="./assets/mui/css/mui.css">



    <!-- 引入图标字体css -->
    <link rel="stylesheet" href="./assets/fontAwesome/css/font-awesome.css">
    <script src="./assets/mui/js/mui.js"></script>
    <script src="./assets/zepto/zepto.min.js"></script>

    <script src='./assets/artTemplate/template.js'></script>
    <!-- <script src="./assets/artTemplate/template-native.js"></script> -->
    <!-- 引入我们公共的js -->
    <script src="./js/base.js"></script>
    <!-- 引入我们的category -->
    <script src="./js/category.js"></script>


    <!-- 我们自己的样式 -->
    <link rel="stylesheet" href="./css/mybase.css">
    <link rel="stylesheet" href="./css/category.css">
</head>

<body>
    <!-- 主页面标题 -->
    <header class="mui-bar mui-bar-nav header">
        <a class="mui-icon mui-icon-search  mui-pull-right"  herf='search.html'></a>
        <h1 class="mui-title">乐淘云购物</h1>
    </header>

    <nav class="mui-bar mui-bar-tab footer">
        <a class="mui-tab-item mui-active" href="index.html">
            <span class="mui-icon mui-icon-home"></span>
            <span class="mui-tab-label">首页</span>
        </a>
        <a class="mui-tab-item" href="category.html">
            <span class="mui-icon mui-icon-bars"></span>
            <span class="mui-tab-label">分类</span>
        </a>
        <a class="mui-tab-item" href="cart.html">
            <span class="mui-icon  fa  fa-shopping-cart"></span>
            <span class="mui-tab-label">购物车</span>
        </a>
        <a class="mui-tab-item" href="user.html">
            <span class="mui-icon mui-icon-person"></span>
            <span class="mui-tab-label">会员中心</span>
        </a>
    </nav>
    <!-- 内容 -->
    <div class="mycontent">
        <div class="leftBox">
            <div class="mui-scroll-wrapper">
                <div class="mui-scroll  leftfirst ">
                    <!--这里放置真实显示的DOM内容-->
                    <!--                    
                    <a href="#" class="active">运动馆</a>
                    <a href="#" class="active">运动馆</a>
                    <a href="#" class="active">运动馆</a> -->
                </div>
            </div>

        </div>
        <div class="rightBox">
            <div class="mui-scroll-wrapper">
                <div class="mui-scroll">
                    <ul class="ulBox  mui-clearfix">
                        <!-- <li>
                            <a href="#">
                                <img src="images/brand1.png" alt="">
                                <span>匡威</span>
                            </a>
                        </li>
                         -->

                    </ul>
                </div>
            </div>

        </div>


    </div>
    <!-- /内容 -->


    <script>

        mui('.mui-scroll-wrapper').scroll({
            deceleration: 0.0005 //flick 减速系数，系数越大，滚动速度越慢，滚动距离越小，默认值0.0006
        });
    </script>



    <script type="html/text" id='leftcate'>
        {{each rows item }}
    <a href="#" class="active">{{ item.categoryName}}</a>
    {{/each}}
</script>
 
 

</body>

</html>